# -*- coding: utf-8 -*-
def bubbleSort(s1):
    n = len(s1)
    for i in range(n):
        for j in range(n-i-1):
            if s1[j] > s1[j+1]:
                c1 = s1[j]
                s1[j] = s1[j+1]
                s1[j+1] = c1
                
l1 = [9,0,6,5,3,10,36,2,1]
bubbleSort(l1)
print(l1)